﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace StoreManagementSystem.DataAccessLayer
{
    /// <summary>
    /// Class representing a generic SQL parameter with name and value
    /// </summary>
    public class SQLParam
    {
        private string m_Name;
        private object m_Value;

        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        public object Value
        {
            get { return m_Value; }
            set { m_Value = value; }
        }

        public SQLParam(string name, object value)
        {
            Name = name;
            Value = value;
        }

        public SQLParam()
        {
        }
    }
}